package com.zhuiyun.project.api.plan.fitnessPlan.service;

import com.zhuiyun.project.api.plan.fitnessPlan.entity.FitnessPlan;
import com.zhuiyun.project.api.plan.fitnessPlan.model.FitnessPlanModel;
import com.zhuiyun.project.api.plan.fitnessType.entity.FitnessType;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import com.zhuiyun.project.utils.pageUtil.PageResult;

/**
* @Author 杨珅
* @Description todo 目的业务层
* @Date 2023/11/2 9:02
* @Return  * @param null
*/
public interface FitnessPlanService {
    /**
     * @Author 杨珅
     * @Description todo 健身计划分页查询
     * @Date 2023/11/13 9:01
     * @Return  * @param null
     */
    PageResult selectAll(PageRequest pageRequest, String fitnessPlanName,String venueUniqueIdentifier,Integer fitnessSeriesId);
    /**
     * @Author 杨珅
     * @Description todo 根据学院id查询计划
     * @Date 2023/11/13 9:01
     * @Return  * @param null
     */
    CommonResult selectPlanById(Integer memberId);
    /**
     * @Author 杨珅
     * @Description todo 健身计划新增
     * @Date 2023/11/13 9:01
     * @Return  * @param null
     */
    CommonResult insertFitnessPlan(FitnessPlanModel fitnessPlan)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身计划修改
     * @Date 2023/11/13 9:01
     * @Return  * @param null
     */
    CommonResult updateFitnessPlan(FitnessPlan fitnessPlan)throws CommonException;
    /**
     * @Author 杨珅
     * @Description todo 健身计划逻辑删除
     * @Date 2023/11/13 9:01
     * @Return  * @param null
     */
    CommonResult deleteFitnessPlan(FitnessPlan fitnessPlan);
}
